﻿namespace Domain
{
    public class Dealer
    {
        public IPlayer WhoIsTheWinner(IPlayer player1, IPlayer player2)
        {
            return player1.GetMyBestCombination().IsBetterThan(player2.GetMyBestCombination())
                       ? player1
                       : player2;
        }
    }
}